package org.l03.cls.pack.ndky;

public class MyClass {
    int x;

    public MyClass(int y) {
        System.out.println("包org.l03.cls.pack.ndky 构造函数MyClass");
        x = y;
    }

    public static void main(String[] args) {
        MyClass myClass = new MyClass(5);
        System.out.println(myClass.x);
    }
}
/*
  输出：构造函数MyClass
  输出：5
 */
